home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / mozilla-firefox / include / dom / nsIDOMXULLabeledControlEl.h < prev    next >
C/C++ Source or Header  |  2006-05-08  |  7KB  |  182 lines

  1. /*
  2.  * DO NOT EDIT.  THIS FILE IS GENERATED FROM nsIDOMXULLabeledControlEl.idl
  3.  */
  4.  
  5. #ifndef __gen_nsIDOMXULLabeledControlEl_h__
  6. #define __gen_nsIDOMXULLabeledControlEl_h__
  7.  
  8.  
  9. #ifndef __gen_nsIDOMElement_h__
  10. #include "nsIDOMElement.h"
  11. #endif
  12.  
  13. #ifndef __gen_nsIDOMXULControlElement_h__
  14. #include "nsIDOMXULControlElement.h"
  15. #endif
  16.  
  17. /* For IDL files that don't want to include root IDL files. */
  18. #ifndef NS_NO_VTABLE
  19. #define NS_NO_VTABLE
  20. #endif
  21.  
  22. /* starting interface:    nsIDOMXULLabeledControlElement */
  23. #define NS_IDOMXULLABELEDCONTROLELEMENT_IID_STR "a457ea70-1dd1-11b2-9089-8fd894122084"
  24.  
  25. #define NS_IDOMXULLABELEDCONTROLELEMENT_IID \
  26.   {0xa457ea70, 0x1dd1, 0x11b2, \
  27.     { 0x90, 0x89, 0x8f, 0xd8, 0x94, 0x12, 0x20, 0x84 }}
  28.  
  29. class NS_NO_VTABLE nsIDOMXULLabeledControlElement : public nsIDOMXULControlElement {
  30.  public: 
  31.  
  32.   NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMXULLABELEDCONTROLELEMENT_IID)
  33.  
  34.   /* attribute DOMString crop; */
  35.   NS_IMETHOD GetCrop(nsAString & aCrop) = 0;
  36.   NS_IMETHOD SetCrop(const nsAString & aCrop) = 0;
  37.  
  38.   /* attribute DOMString image; */
  39.   NS_IMETHOD GetImage(nsAString & aImage) = 0;
  40.   NS_IMETHOD SetImage(const nsAString & aImage) = 0;
  41.  
  42.   /* attribute DOMString label; */
  43.   NS_IMETHOD GetLabel(nsAString & aLabel) = 0;
  44.   NS_IMETHOD SetLabel(const nsAString & aLabel) = 0;
  45.  
  46.   /* attribute DOMString accessKey; */
  47.   NS_IMETHOD GetAccessKey(nsAString & aAccessKey) = 0;
  48.   NS_IMETHOD SetAccessKey(const nsAString & aAccessKey) = 0;
  49.  
  50.   /* attribute DOMString command; */
  51.   NS_IMETHOD GetCommand(nsAString & aCommand) = 0;
  52.   NS_IMETHOD SetCommand(const nsAString & aCommand) = 0;
  53.  
  54. };
  55.  
  56. /* Use this macro when declaring classes that implement this interface. */
  57. #define NS_DECL_NSIDOMXULLABELEDCONTROLELEMENT \
  58.   NS_IMETHOD GetCrop(nsAString & aCrop); \
  59.   NS_IMETHOD SetCrop(const nsAString & aCrop); \
  60.   NS_IMETHOD GetImage(nsAString & aImage); \
  61.   NS_IMETHOD SetImage(const nsAString & aImage); \
  62.   NS_IMETHOD GetLabel(nsAString & aLabel); \
  63.   NS_IMETHOD SetLabel(const nsAString & aLabel); \
  64.   NS_IMETHOD GetAccessKey(nsAString & aAccessKey); \
  65.   NS_IMETHOD SetAccessKey(const nsAString & aAccessKey); \
  66.   NS_IMETHOD GetCommand(nsAString & aCommand); \
  67.   NS_IMETHOD SetCommand(const nsAString & aCommand); 
  68.  
  69. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  70. #define NS_FORWARD_NSIDOMXULLABELEDCONTROLELEMENT(_to) \
  71.   NS_IMETHOD GetCrop(nsAString & aCrop) { return _to GetCrop(aCrop); } \
  72.   NS_IMETHOD SetCrop(const nsAString & aCrop) { return _to SetCrop(aCrop); } \
  73.   NS_IMETHOD GetImage(nsAString & aImage) { return _to GetImage(aImage); } \
  74.   NS_IMETHOD SetImage(const nsAString & aImage) { return _to SetImage(aImage); } \
  75.   NS_IMETHOD GetLabel(nsAString & aLabel) { return _to GetLabel(aLabel); } \
  76.   NS_IMETHOD SetLabel(const nsAString & aLabel) { return _to SetLabel(aLabel); } \
  77.   NS_IMETHOD GetAccessKey(nsAString & aAccessKey) { return _to GetAccessKey(aAccessKey); } \
  78.   NS_IMETHOD SetAccessKey(const nsAString & aAccessKey) { return _to SetAccessKey(aAccessKey); } \
  79.   NS_IMETHOD GetCommand(nsAString & aCommand) { return _to GetCommand(aCommand); } \
  80.   NS_IMETHOD SetCommand(const nsAString & aCommand) { return _to SetCommand(aCommand); } 
  81.  
  82. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  83. #define NS_FORWARD_SAFE_NSIDOMXULLABELEDCONTROLELEMENT(_to) \
  84.   NS_IMETHOD GetCrop(nsAString & aCrop) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCrop(aCrop); } \
  85.   NS_IMETHOD SetCrop(const nsAString & aCrop) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCrop(aCrop); } \
  86.   NS_IMETHOD GetImage(nsAString & aImage) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetImage(aImage); } \
  87.   NS_IMETHOD SetImage(const nsAString & aImage) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetImage(aImage); } \
  88.   NS_IMETHOD GetLabel(nsAString & aLabel) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLabel(aLabel); } \
  89.   NS_IMETHOD SetLabel(const nsAString & aLabel) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetLabel(aLabel); } \
  90.   NS_IMETHOD GetAccessKey(nsAString & aAccessKey) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAccessKey(aAccessKey); } \
  91.   NS_IMETHOD SetAccessKey(const nsAString & aAccessKey) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAccessKey(aAccessKey); } \
  92.   NS_IMETHOD GetCommand(nsAString & aCommand) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCommand(aCommand); } \
  93.   NS_IMETHOD SetCommand(const nsAString & aCommand) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCommand(aCommand); } 
  94.  
  95. #if 0
  96. /* Use the code below as a template for the implementation class for this interface. */
  97.  
  98. /* Header file */
  99. class nsDOMXULLabeledControlElement : public nsIDOMXULLabeledControlElement
  100. {
  101. public:
  102.   NS_DECL_ISUPPORTS
  103.   NS_DECL_NSIDOMXULLABELEDCONTROLELEMENT
  104.  
  105.   nsDOMXULLabeledControlElement();
  106.  
  107. private:
  108.   ~nsDOMXULLabeledControlElement();
  109.  
  110. protected:
  111.   /* additional members */
  112. };
  113.  
  114. /* Implementation file */
  115. NS_IMPL_ISUPPORTS1(nsDOMXULLabeledControlElement, nsIDOMXULLabeledControlElement)
  116.  
  117. nsDOMXULLabeledControlElement::nsDOMXULLabeledControlElement()
  118. {
  119.   /* member initializers and constructor code */
  120. }
  121.  
  122. nsDOMXULLabeledControlElement::~nsDOMXULLabeledControlElement()
  123. {
  124.   /* destructor code */
  125. }
  126.  
  127. /* attribute DOMString crop; */
  128. NS_IMETHODIMP nsDOMXULLabeledControlElement::GetCrop(nsAString & aCrop)
  129. {
  130.     return NS_ERROR_NOT_IMPLEMENTED;
  131. }
  132. NS_IMETHODIMP nsDOMXULLabeledControlElement::SetCrop(const nsAString & aCrop)
  133. {
  134.     return NS_ERROR_NOT_IMPLEMENTED;
  135. }
  136.  
  137. /* attribute DOMString image; */
  138. NS_IMETHODIMP nsDOMXULLabeledControlElement::GetImage(nsAString & aImage)
  139. {
  140.     return NS_ERROR_NOT_IMPLEMENTED;
  141. }
  142. NS_IMETHODIMP nsDOMXULLabeledControlElement::SetImage(const nsAString & aImage)
  143. {
  144.     return NS_ERROR_NOT_IMPLEMENTED;
  145. }
  146.  
  147. /* attribute DOMString label; */
  148. NS_IMETHODIMP nsDOMXULLabeledControlElement::GetLabel(nsAString & aLabel)
  149. {
  150.     return NS_ERROR_NOT_IMPLEMENTED;
  151. }
  152. NS_IMETHODIMP nsDOMXULLabeledControlElement::SetLabel(const nsAString & aLabel)
  153. {
  154.     return NS_ERROR_NOT_IMPLEMENTED;
  155. }
  156.  
  157. /* attribute DOMString accessKey; */
  158. NS_IMETHODIMP nsDOMXULLabeledControlElement::GetAccessKey(nsAString & aAccessKey)
  159. {
  160.     return NS_ERROR_NOT_IMPLEMENTED;
  161. }
  162. NS_IMETHODIMP nsDOMXULLabeledControlElement::SetAccessKey(const nsAString & aAccessKey)
  163. {
  164.     return NS_ERROR_NOT_IMPLEMENTED;
  165. }
  166.  
  167. /* attribute DOMString command; */
  168. NS_IMETHODIMP nsDOMXULLabeledControlElement::GetCommand(nsAString & aCommand)
  169. {
  170.     return NS_ERROR_NOT_IMPLEMENTED;
  171. }
  172. NS_IMETHODIMP nsDOMXULLabeledControlElement::SetCommand(const nsAString & aCommand)
  173. {
  174.     return NS_ERROR_NOT_IMPLEMENTED;
  175. }
  176.  
  177. /* End of implementation class template. */
  178. #endif
  179.  
  180.  
  181. #endif /* __gen_nsIDOMXULLabeledControlEl_h__ */
  182.